package com.letoken.platform.repo.app.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * Le账户-加速流通记录
 * </p>
 *
 * @author 作者
 * @since 2022-12-09
 */
@Getter
@Setter
@TableName("app_user_circulate_accelerate")
@ApiModel(value = "AppUserCirculateAccelerate对象", description = "Le账户-加速流通记录")
public class AppUserCirculateAccelerate extends Model<AppUserCirculateAccelerate> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("发行ID")
    @TableField("issue_id")
    private Integer issueId;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty("团队新增业绩")
    @TableField("team_amount")
    private Integer teamAmount;

    @ApiModelProperty("个人发行量")
    @TableField("issue_amount")
    private Integer issueAmount;

    @ApiModelProperty("生态建设等级")
    @TableField("eco_level")
    private Integer ecoLevel;

    @ApiModelProperty("加速封顶时间(天)")
    @TableField("accelerate_max")
    private Integer accelerateMax;

    @ApiModelProperty("实际加速时间(秒)")
    @TableField("accelerate_duration")
    private Integer accelerateDuration;

    @ApiModelProperty("流通时间")
    @TableField("create_time")
    private LocalDateTime createTime;


    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
